package com.zjgu.entity;

import java.util.List;

public class Team {
    private Integer tId;

    private String tName;

    private Integer gId;

    private Byte tAlive;

    private Float tGrade;

    private List<Member> members;

    public Team(){}

    public Team(Integer gId, String tName) {
        this.gId = gId;
        this.tName = tName;
    }

    public List<Member> getMembers() {
        return members;
    }

    public void setMembers(List<Member> members) {
        this.members = members;
    }

    public Integer gettId() {
        return tId;
    }

    public void settId(Integer tId) {
        this.tId = tId;
    }

    public String gettName() {
        return tName;
    }

    public void settName(String tName) {
        this.tName = tName == null ? null : tName.trim();
    }

    public Integer getgId() {
        return gId;
    }

    public void setgId(Integer gId) {
        this.gId = gId;
    }

    public Byte gettAlive() {
        return tAlive;
    }

    public void settAlive(Byte tAlive) {
        this.tAlive = tAlive;
    }

    public Float gettGrade() {
        return tGrade;
    }

    public void settGrade(Float tGrade) {
        this.tGrade = tGrade;
    }
}